package com.gulimall.product.feign;

import com.gulimall.common.to.es.SkuEsModels;
import com.gulimall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Description:
 * @Author: Zk
 * @Date: 2020/12/1 9:03
 */
@FeignClient("gulimall-search")
public interface SearchFeignService {
    //上架商品
    @PostMapping("/search/save/product")
    public R productStatusUp(@RequestBody List<SkuEsModels> skuEsModers);
}
